<script type="text/javascript">
	function Can_not_use()
	{
		alert("Chức năng này chưa thể sử dụng!");
		}
</script>

<?php $n = $this->News?>
<div id="article">
	<span class="menu_news"><?php echo news?></span>	&raquo;
		<?php if($n["CATEGORY_ID"] == 0){?>
		<span class="lmenu_news"><a href="">Tổng hợp</a></span>
		<?php }else{?>
		<span class="lmenu_news"><a href=""><?php echo $n["CATEGORY_ID"]?></a></span>
		<?php }?>
		<span class="date_post"><?php echo date("d/m/Y h:m",strtotime($n["UPDATE"]))?></span>
	<div class="article_top"></div>
	<div class="article_bn">
		<div class="article_bn_l"></div>
		<div class="article_bn_ct">
			<div class="article_title"><?php echo $n["SHORT_CONTENT"]?></div>
		</div>
		<div class="article_bn_r"></div>
	</div>
	<div class="article_m">
		<div class="article_ct">
    	<?php echo $n["LONG_CONTENT"]?>
		

		<div id="fb-root"></div>
			<script>(function(d, s, id) {
		  var js, fjs = d.getElementsByTagName(s)[0];
		  if (d.getElementById(id)) return;
		  js = d.createElement(s); js.id = id;
		  js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1&appId=345766455500717";
		  fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));</script>
			<div class="fb-comments"
				data-href="<?php echo DOMAIN . "/news/shownews/id/".$n['id']?>"
				data-num-posts="<?php echo POST_NUMBERS?>" data-width="650"></div>

			<div class="related_post">
				<p class="rel_post_heading"><?php echo news_with_cate?></p>
				<ul>
            <?php foreach ($this->category as $ca):?>
            	<?php if((date("d/m/Y",strtotime($ca["UPDATE"]))) == (date("d/m/Y"))){?>
            		<li><a style="color: #024382; font-size: 12px;"
						href="<?php echo DOMAIN."/Tin-Tuc/".$ca->id.".html"?>"><?php echo $ca->TITLE?></a><span><img
							alt=""
							src="<?php echo STYLE.'/public/uploaded/images/news/no_image.jpg' ?>"
							height="15" width="15"></span><span class="date_post2"
						style="margin-left: 5px; font-size: 11px; color: #999;"> <?php echo date("d/m/Y h:m",strtotime($ca["UPDATE"]))?></span></li>
            	<?php }else{?>
            		<li><a style="color: #024382; font-size: 12px;"
						href="<?php echo DOMAIN."/Tin-Tuc/".$ca->id.".html"?>"><?php echo $ca->TITLE?></a><span
						class="date_post2"
						style="margin-left: 5px; font-size: 11px; color: #999;"> <?php echo date("d/m/Y h:m",strtotime($n["UPDATE"]))?></span></li>
            	<?php }?>
            
            <?php endforeach;?>
            </ul>
				<a href="#" onclick="Can_not_use();">Xem thêm</a>
			</div>
			<!--End .related_post-->
		</div>
	</div>
	<div class="article_bot"></div>
</div>
<!--End .article-->